package com.zuipin.mapper;

import java.util.Map;

/**
 * crud通用dao
 * @author xjd
 *
 */
public interface GeneralMapper {
	
	Map<String, Object> selectByPrimaryKey(Map<String, Object> param);
	
	int deleteByPrimaryKey(Map<String, Object> param);
	
	int insert(Map<String, Object> param);
	
	/*@InsertProvider(type = GeneralDaoProvider.class, method = "insertSelectiveSql")*/
	int insertSelective(Map<String, Object> param);
	
	int insertBatch(Map<String, Object> param);
	
	int updateByPrimaryKey(Map<String, Object> param);
	
}
